package com.liu.mybatis.mapper;

import com.liu.mybatis.domain.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper {

    //拿到所有员工
    List<Employee> findAll();
    //添加员工
    void save(Employee employee);
    //添加员工
    void param(@Param("name")String name,@Param("age")String age);
}
